@import './variable.less';
@import './animate.css';
@import './reset.less';
//@import '../fonts/iconfont.css';

html,
body {
    margin: 0;
    color: @fontColor;
    background: white;
    height: 100%;
    font-size: @fontSize;
}

* {
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
}

//project
html {
    .vd-table {
        border: 1px solid #e5e5e5;
        margin: 0;
        padding: 0;
        border-right: none;
        border-bottom: none;
        border-radius: 5px;

        tr {
            td {
                padding: 10px;
                border: 1px solid #e5e5e5;
                border-top: none;
                border-left: none;
                text-align: left;
                vertical-align: middle;

                &.left-td {
                    text-align: right;
                    padding-right: 15px;
                }
            }
        }

        thead {
            td {
                background: #f1f1f1;
                font-size: 15px;
            }
        }

        tbody > tr:nth-child(2n+1) {
            background: white;
        }

        tbody > tr:nth-child(2n) {
            background: #fafafa;
        }

        tbody > tr:hover {
            background: #f4f4f4;
        }
    }

    .search-box {
        box-shadow: 0 0 10px #eee;
        width: 100%;
        height: auto;
        padding: 15px 15px 0 15px;
        background: white;
        display: flex;
        border-radius: 5px;

        .left {
            width: 0;
            flex: 1;
            overflow: hidden;

            .item {
                float: left;
                margin: 0 15px 15px 0;
                display: flex;
                align-items: stretch;
                justify-content: space-between;
                border-radius: 4px;
                min-width: 284px;
                background: #fafafa;
                border: 1px solid #DCDFE6;

                .span {
                    flex: 1;
                    width: 0;
                    padding-left: 12px;
                    border-right: none;
                    display: flex;
                    align-items: center;
                }

                .el-select,
                .el-input {
                    border: none;
                }

                .el-input__inner {
                    padding: 0 10px;
                    border-radius: 0 4px 4px 0;
                    border: none;
                    border-left: 1px solid #DCDFE6;
                }

                .el-input__suffix {
                    right: 3px;
                }

                .el-date-editor {
                    .el-input__inner {
                        padding: 0 10px 0 26px;
                    }
                }

                .el-date-picker {
                    display: flex;
                    align-items: center;
                }

                .el-range-separator {
                    width: 30px;
                }
            }
        }

        .right {
            display: flex;
            align-items: flex-start;
            justify-content: flex-end;
        }
    }

    .g-box {
        width: 100%;
        height: auto;
        padding: 15px;
        background: white;
        border-radius: 5px;
        box-shadow: 0 0 10px #eee;
    }

    .add-box {
        & > div {
            display: flex;
            justify-content: flex-start;
        }

        .span {
            width: 100px;
            display: inline-block;
            height: 28px;
            line-height: 28px;
            padding-right: 5px;
        }
    }

    .el-table th.gutter {
        display: table-cell !important;
    }
}

/***************** common *****************/
html {
    img {
        display: block;
    }

    .c-pointer {
        cursor: pointer;
    }

    .tran-all {
        transition: all 0.3s;
    }

    .d-block {
        display: block;
    }

    .d-iblock {
        display: inline-block;
    }

    .d-flex {
        display: flex;
    }

    .o-hidden {
        overflow: hidden;
    }

    .pull-left {
        float: left;
    }

    .pull-right {
        float: right;
    }

    .clearfix {
        clear: both;
    }

    .flex-center {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .flex-between {
        justify-content: space-between;
    }

    .flex-column {
        flex-direction: column;
    }

    .flex-start {
        justify-content: flex-start;
    }
}

//width
html {
    .width10 {
        width: 10%;
    }

    .width20 {
        width: 20%;
    }

    .width30 {
        width: 30%;
    }

    .width40 {
        width: 40%;
    }

    .width50 {
        width: 50%;
    }

    .width60 {
        width: 60%;
    }

    .width70 {
        width: 70%;
    }

    .width80 {
        width: 80%;
    }

    .width90 {
        width: 90%;
    }

    .width100 {
        width: 100%;
    }

    .width-50 {
        width: 50px;
    }

    .width-100 {
        width: 100px;
    }

    .width-150 {
        width: 150px;
    }

    .width-200 {
        width: 200px;
    }

    .width-250 {
        width: 250px;
    }

    .width-300 {
        width: 300px;
    }

    .width-350 {
        width: 350px;
    }

    .width-400 {
        width: 400px;
    }

    .width-450 {
        width: 450px;
    }

    .width-500 {
        width: 500px;
    }
}

/***************** color-background *****************/
html {
    .background-red {
        background: red;
    }

    .background-white {
        background: white;
    }

    .background-black {
        background: black;
    }

    .color-white {
        color: white;
    }

    .color-red {
        color: red;
    }

    .color-black {
        color: black;
    }

    .color-333 {
        color: #333333;
    }

    .color-666 {
        color: #666666;
    }

    .color-999 {
        color: #999999;
    }

    .color-ccc {
        color: #cccccc;
    }

    .color-primary {
        color: #409EFF;
    }

    .color-success {
        color: #67C23A;
    }

    .color-warning {
        color: #E6A23C;
    }

    .color-danger {
        color: #F56C6C;
    }

    .color-info {
        color: #909399;
    }
}

/***************** font about *****************/
html {
    .line-through {
        text-decoration: line-through;
    }

    .t-hidden {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .t-center {
        text-align: center;
    }

    .t-right {
        text-align: right;
    }

    .t-left {
        text-align: left;
    }

    .bold-300 {
        font-weight: 300;
    }

    .bold-400 {
        font-weight: 400;
    }

    .bold-500 {
        font-weight: 500;
    }

    .bold-600 {
        font-weight: 600;
    }

    .bold {
        font-weight: bold;
    }
}

/***************** font-size *****************/
html {
    .font10 {
        font-size: 10px;
    }

    .font12 {
        font-size: 12px;
    }

    .font14 {
        font-size: 14px;
    }

    .font16 {
        font-size: 16px;
    }

    .font18 {
        font-size: 18px;
    }

    .font20 {
        font-size: 20px;
    }

    .font22 {
        font-size: 22px;
    }

    .font24 {
        font-size: 24px;
    }

    .font26 {
        font-size: 26px;
    }

    .font28 {
        font-size: 28px;
    }

    .font30 {
        font-size: 30px;
    }

    .font32 {
        font-size: 32px;
    }

    .font34 {
        font-size: 34px;
    }

    .font36 {
        font-size: 36px;
    }

    .font38 {
        font-size: 38px;
    }

    .font40 {
        font-size: 40px;
    }

    .font42 {
        font-size: 42px;
    }

    .font44 {
        font-size: 44px;
    }

    .font46 {
        font-size: 46px;
    }

    .font48 {
        font-size: 48px;
    }

    .font50 {
        font-size: 50px;
    }

    .font52 {
        font-size: 52px;
    }

    .font54 {
        font-size: 54px;
    }

    .font56 {
        font-size: 56px;
    }

    .font58 {
        font-size: 58px;
    }

    .font60 {
        font-size: 60px;
    }

    .font62 {
        font-size: 62px;
    }

    .font64 {
        font-size: 64px;
    }

    .font66 {
        font-size: 66px;
    }

    .font68 {
        font-size: 68px;
    }

    .font70 {
        font-size: 70px;
    }

    .font72 {
        font-size: 72px;
    }

    .font74 {
        font-size: 74px;
    }

    .font76 {
        font-size: 76px;
    }

    .font78 {
        font-size: 78px;
    }

    .font80 {
        font-size: 80px;
    }

    .font82 {
        font-size: 82px;
    }

    .font84 {
        font-size: 84px;
    }

    .font86 {
        font-size: 86px;
    }

    .font88 {
        font-size: 88px;
    }

    .font90 {
        font-size: 90px;
    }

    .font92 {
        font-size: 92px;
    }

    .font94 {
        font-size: 94px;
    }

    .font96 {
        font-size: 96px;
    }

    .font98 {
        font-size: 98px;
    }

    .font100 {
        font-size: 100px;
    }
}

/***************** margin padding *****************/
html {
    .p-5 {
        padding: 5px;
    }

    .pl-5 {
        padding-left: 5px;
    }

    .pr-5 {
        padding-right: 5px;
    }

    .pt-5 {
        padding-top: 5px;
    }

    .pb-5 {
        padding-bottom: 5px;
    }

    .m-5 {
        margin: 5px;
    }

    .ml-5 {
        margin-left: 5px;
    }

    .mr-5 {
        margin-right: 5px;
    }

    .mt-5 {
        margin-top: 5px;
    }

    .mb-5 {
        margin-bottom: 5px;
    }

    .p-10 {
        padding: 10px;
    }

    .pl-10 {
        padding-left: 10px;
    }

    .pr-10 {
        padding-right: 10px;
    }

    .pt-10 {
        padding-top: 10px;
    }

    .pb-10 {
        padding-bottom: 10px;
    }

    .m-10 {
        margin: 10px;
    }

    .ml-10 {
        margin-left: 10px;
    }

    .mr-10 {
        margin-right: 10px;
    }

    .mt-10 {
        margin-top: 10px;
    }

    .mb-10 {
        margin-bottom: 10px;
    }

    .p-15 {
        padding: 15px;
    }

    .pl-15 {
        padding-left: 15px;
    }

    .pr-15 {
        padding-right: 15px;
    }

    .pt-15 {
        padding-top: 15px;
    }

    .pb-15 {
        padding-bottom: 15px;
    }

    .m-15 {
        margin: 15px;
    }

    .ml-15 {
        margin-left: 15px;
    }

    .mr-15 {
        margin-right: 15px;
    }

    .mt-15 {
        margin-top: 15px;
    }

    .mb-15 {
        margin-bottom: 15px;
    }

    .p-20 {
        padding: 20px;
    }

    .pl-20 {
        padding-left: 20px;
    }

    .pr-20 {
        padding-right: 20px;
    }

    .pt-20 {
        padding-top: 20px;
    }

    .pb-20 {
        padding-bottom: 20px;
    }

    .m-20 {
        margin: 20px;
    }

    .ml-20 {
        margin-left: 20px;
    }

    .mr-20 {
        margin-right: 20px;
    }

    .mt-20 {
        margin-top: 20px;
    }

    .mb-20 {
        margin-bottom: 20px;
    }

    .p-25 {
        padding: 25px;
    }

    .pl-25 {
        padding-left: 25px;
    }

    .pr-25 {
        padding-right: 25px;
    }

    .pt-25 {
        padding-top: 25px;
    }

    .pb-25 {
        padding-bottom: 25px;
    }

    .m-25 {
        margin: 25px;
    }

    .ml-25 {
        margin-left: 25px;
    }

    .mr-25 {
        margin-right: 25px;
    }

    .mt-25 {
        margin-top: 25px;
    }

    .mb-25 {
        margin-bottom: 25px;
    }

    .p-30 {
        padding: 30px;
    }

    .pl-30 {
        padding-left: 30px;
    }

    .pr-30 {
        padding-right: 30px;
    }

    .pt-30 {
        padding-top: 30px;
    }

    .pb-30 {
        padding-bottom: 30px;
    }

    .m-30 {
        margin: 30px;
    }

    .ml-30 {
        margin-left: 30px;
    }

    .mr-30 {
        margin-right: 30px;
    }

    .mt-30 {
        margin-top: 30px;
    }

    .mb-30 {
        margin-bottom: 30px;
    }

    .p-35 {
        padding: 35px;
    }

    .pl-35 {
        padding-left: 35px;
    }

    .pr-35 {
        padding-right: 35px;
    }

    .pt-35 {
        padding-top: 35px;
    }

    .pb-35 {
        padding-bottom: 35px;
    }

    .m-35 {
        margin: 35px;
    }

    .ml-35 {
        margin-left: 35px;
    }

    .mr-35 {
        margin-right: 35px;
    }

    .mt-35 {
        margin-top: 35px;
    }

    .mb-35 {
        margin-bottom: 35px;
    }

    .p-40 {
        padding: 40px;
    }

    .pl-40 {
        padding-left: 40px;
    }

    .pr-40 {
        padding-right: 40px;
    }

    .pt-40 {
        padding-top: 40px;
    }

    .pb-40 {
        padding-bottom: 40px;
    }

    .m-40 {
        margin: 40px;
    }

    .ml-40 {
        margin-left: 40px;
    }

    .mr-40 {
        margin-right: 40px;
    }

    .mt-40 {
        margin-top: 40px;
    }

    .mb-40 {
        margin-bottom: 40px;
    }

    .p-45 {
        padding: 45px;
    }

    .pl-45 {
        padding-left: 45px;
    }

    .pr-45 {
        padding-right: 45px;
    }

    .pt-45 {
        padding-top: 45px;
    }

    .pb-45 {
        padding-bottom: 45px;
    }

    .m-45 {
        margin: 45px;
    }

    .ml-45 {
        margin-left: 45px;
    }

    .mr-45 {
        margin-right: 45px;
    }

    .mt-45 {
        margin-top: 45px;
    }

    .mb-45 {
        margin-bottom: 45px;
    }

    .p-50 {
        padding: 50px;
    }

    .pl-50 {
        padding-left: 50px;
    }

    .pr-50 {
        padding-right: 50px;
    }

    .pt-50 {
        padding-top: 50px;
    }

    .pb-50 {
        padding-bottom: 50px;
    }

    .m-50 {
        margin: 50px;
    }

    .ml-50 {
        margin-left: 50px;
    }

    .mr-50 {
        margin-right: 50px;
    }

    .mt-50 {
        margin-top: 50px;
    }

    .mb-50 {
        margin-bottom: 50px;
    }

    .p-55 {
        padding: 55px;
    }

    .pl-55 {
        padding-left: 55px;
    }

    .pr-55 {
        padding-right: 55px;
    }

    .pt-55 {
        padding-top: 55px;
    }

    .pb-55 {
        padding-bottom: 55px;
    }

    .m-55 {
        margin: 55px;
    }

    .ml-55 {
        margin-left: 55px;
    }

    .mr-55 {
        margin-right: 55px;
    }

    .mt-55 {
        margin-top: 55px;
    }

    .mb-55 {
        margin-bottom: 55px;
    }

    .p-60 {
        padding: 60px;
    }

    .pl-60 {
        padding-left: 60px;
    }

    .pr-60 {
        padding-right: 60px;
    }

    .pt-60 {
        padding-top: 60px;
    }

    .pb-60 {
        padding-bottom: 60px;
    }

    .m-60 {
        margin: 60px;
    }

    .ml-60 {
        margin-left: 60px;
    }

    .mr-60 {
        margin-right: 60px;
    }

    .mt-60 {
        margin-top: 60px;
    }

    .mb-60 {
        margin-bottom: 60px;
    }

    .p-65 {
        padding: 65px;
    }

    .pl-65 {
        padding-left: 65px;
    }

    .pr-65 {
        padding-right: 65px;
    }

    .pt-65 {
        padding-top: 65px;
    }

    .pb-65 {
        padding-bottom: 65px;
    }

    .m-65 {
        margin: 65px;
    }

    .ml-65 {
        margin-left: 65px;
    }

    .mr-65 {
        margin-right: 65px;
    }

    .mt-65 {
        margin-top: 65px;
    }

    .mb-65 {
        margin-bottom: 65px;
    }

    .p-70 {
        padding: 70px;
    }

    .pl-70 {
        padding-left: 70px;
    }

    .pr-70 {
        padding-right: 70px;
    }

    .pt-70 {
        padding-top: 70px;
    }

    .pb-70 {
        padding-bottom: 70px;
    }

    .m-70 {
        margin: 70px;
    }

    .ml-70 {
        margin-left: 70px;
    }

    .mr-70 {
        margin-right: 70px;
    }

    .mt-70 {
        margin-top: 70px;
    }

    .mb-70 {
        margin-bottom: 70px;
    }

    .p-75 {
        padding: 75px;
    }

    .pl-75 {
        padding-left: 75px;
    }

    .pr-75 {
        padding-right: 75px;
    }

    .pt-75 {
        padding-top: 75px;
    }

    .pb-75 {
        padding-bottom: 75px;
    }

    .m-75 {
        margin: 75px;
    }

    .ml-75 {
        margin-left: 75px;
    }

    .mr-75 {
        margin-right: 75px;
    }

    .mt-75 {
        margin-top: 75px;
    }

    .mb-75 {
        margin-bottom: 75px;
    }

    .p-80 {
        padding: 80px;
    }

    .pl-80 {
        padding-left: 80px;
    }

    .pr-80 {
        padding-right: 80px;
    }

    .pt-80 {
        padding-top: 80px;
    }

    .pb-80 {
        padding-bottom: 80px;
    }

    .m-80 {
        margin: 80px;
    }

    .ml-80 {
        margin-left: 80px;
    }

    .mr-80 {
        margin-right: 80px;
    }

    .mt-80 {
        margin-top: 80px;
    }

    .mb-80 {
        margin-bottom: 80px;
    }

    .p-85 {
        padding: 85px;
    }

    .pl-85 {
        padding-left: 85px;
    }

    .pr-85 {
        padding-right: 85px;
    }

    .pt-85 {
        padding-top: 85px;
    }

    .pb-85 {
        padding-bottom: 85px;
    }

    .m-85 {
        margin: 85px;
    }

    .ml-85 {
        margin-left: 85px;
    }

    .mr-85 {
        margin-right: 85px;
    }

    .mt-85 {
        margin-top: 85px;
    }

    .mb-85 {
        margin-bottom: 85px;
    }

    .p-90 {
        padding: 90px;
    }

    .pl-90 {
        padding-left: 90px;
    }

    .pr-90 {
        padding-right: 90px;
    }

    .pt-90 {
        padding-top: 90px;
    }

    .pb-90 {
        padding-bottom: 90px;
    }

    .m-90 {
        margin: 90px;
    }

    .ml-90 {
        margin-left: 90px;
    }

    .mr-90 {
        margin-right: 90px;
    }

    .mt-90 {
        margin-top: 90px;
    }

    .mb-90 {
        margin-bottom: 90px;
    }

    .p-95 {
        padding: 95px;
    }

    .pl-95 {
        padding-left: 95px;
    }

    .pr-95 {
        padding-right: 95px;
    }

    .pt-95 {
        padding-top: 95px;
    }

    .pb-95 {
        padding-bottom: 95px;
    }

    .m-95 {
        margin: 95px;
    }

    .ml-95 {
        margin-left: 95px;
    }

    .mr-95 {
        margin-right: 95px;
    }

    .mt-95 {
        margin-top: 95px;
    }

    .mb-95 {
        margin-bottom: 95px;
    }

    .p-100 {
        padding: 100px;
    }

    .pl-100 {
        padding-left: 100px;
    }

    .pr-100 {
        padding-right: 100px;
    }

    .pt-100 {
        padding-top: 100px;
    }

    .pb-100 {
        padding-bottom: 100px;
    }

    .m-100 {
        margin: 100px;
    }

    .ml-100 {
        margin-left: 100px;
    }

    .mr-100 {
        margin-right: 100px;
    }

    .mt-100 {
        margin-top: 100px;
    }

    .mb-100 {
        margin-bottom: 100px;
    }
}
